package org.easytouseit.aop.test;

import org.springframework.stereotype.Component;

/**
 * @author guojm
 * @version V1.0
 * @date 2019-06-26 下午 15:01
 */
@Component
public class ChangeWarehouseSolver  extends InspectionSolver{
    @Override
    public void solve(SolverBase solverBase) {
        ChangeWarehouseParam param =(ChangeWarehouseParam)solverBase;
        System.out.println("订单"+param.getOrderId()+"开始进行批量转仓了。。");
    }

    @Override
    public String[] supports() {
        return new String[] {"INSPECTION_TASK_TYPE_BATCH_CHANGE_WAREHOUSE"};
    }
}
